//
//  DataHandle.h
//  旅游咨询
//
//  Created by 徐斌 on 15/4/20.
//  Copyright (c) 2015年 xubin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TravelNotesHomePageModel.h"
#import "TravelHomeModel.h"
#import <sqlite3.h>
#import "DataHandleModel.h"
#import <UIKit/UIKit.h>
//#import <CoreGraphics/CoreGraphics.h>
@interface DataHandle : NSObject
+ (instancetype)sharDataBaseHandle;
- (void)openDB;
- (void)creatDB;
- (void)insertTravelNotes:(TravelHomeModel *)notesModel;
- (NSMutableArray *)selectAllStudent;
- (void)dropTable;

//- (void)openDBb;
- (void)creatDBb;
- (void)insertTravelphoto:(TravelNotesHomePageModel *)photoModel;
- (NSMutableArray *)selectAllStudentb;
- (void)dropTableb;

+ (CGFloat)getHeighContent:(NSString *)content;


@end
